YigTheFatherOfSerpents : ManticorePiece
{

	*new
	{
		^super.new.init;
	}

	*initClass
	{
		Manticore.registerPiece('YigTheFatherOfSerpents');	// register with Manticore
	}

	init
	{

		OSCthulhu.changePorts([32244,57120]);

		// start Yig from an alias in ~/Library/Application Support/SuperCollider
		("open \"" ++ Platform.userConfigDir ++ "/Yig.app\"").unixCmd;

	}

	free
	{

	}

	getInterface
	{|p|
		var view;

		view = View();
		view.background_(Color.black);

		^p.layout_(HLayout( [view, stretch:1] ));
	}
}